Keycloak REST Services 1.5.0-Final

Path: / admin / realms / {realm} / clients / {id} / user-sessions

Return a list of user sessions associated with this client

Path parameters:
realm - realm name (not id!)
id - id of client (not client-id)

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/clients/{id}/user-sessions?first=…&max=…Return a list of user sessions associated with this client

Method Detail

GET /admin/realms/{realm}/clients/{id}/user-sessions

Return a list of user sessions associated with this client

HTTP Example:
GET /admin/realms/{realm}/clients/{id}/user-sessions?first=…&max=…
API Example:

ClientResource.getUserSessions({'first': /* Return a list of user sessions associated with this client */,
  'max': /* Return a list of user sessions associated with this client */,
  'realm': /* name realm name (not id!) */,
  'id': /* id id of client (not client-id) */});

Output:
List<UserSessionRepresentation> -
Query parameters:
first
max
Produces:
application/json

Keycloak REST Services 1.5.0-Final